.img-viewer {
	list-style: none;
	margin: 0;
	padding: 0;
	font-size: 15px;
}
.img-viewer > li > img {
	width: 100%;
	height: 100%;
	border: none;
	opacity: 0;
}
.upload-img-item,.img-viewer > li {
	float: left;
	margin: 0.5em;
	position: relative;
	width: 10em;
	height: 10em;
	text-align: center;
	background-color: #FFFFFF;
	background-position: center center;
	background-size: contain;
	background-repeat: no-repeat;
	background-origin: content-box;
	border: 1px solid rgba(0, 0, 0, 0.2);
	padding: 0.3em;
	border-radius: 0.3em;
	box-sizing: border-box;
	box-shadow: 0 0 0.5em rgba(0, 0, 0, 0.4);
	cursor: pointer;
}


.upload-img-item:hover,.img-viewer > li:hover {
	border-color: rgba(0, 0, 0, 0.3);
	box-shadow: 0 0 0.6em rgba(0, 0, 0, 0.5);
}


.upload-img-item > i,.img-viewer > li > i {
	font-size: 3em;
	line-height: 3em;
	color: rgba(0, 0, 0, 0.3);
}
.upload-img-item:hover > i,.img-viewer > li:hover > i {
	color: rgba(0, 0, 0, 0.5);
}


.upload-img-item > input {
	display: none;
}

.upload-img-item > div.close {
	content: "×";
	width: 1.4em;
	height: 1.4em;
	background-color: #FFFFFF;
	box-sizing: border-box;
	border: solid 1px #666666;
	border-radius: 0.7em;
	color: #666666;
	font-family: "黑体";
	font-size: 1.4em;
	line-height: 1.4em;
	text-align: center;
	position: absolute;
	right: 0.5em;
	top: 0.5em;
	cursor: pointer;
	box-shadow: 0 0 0.1em rgba(255, 255, 255, 0.8);
}
.upload-img-item > div.close:hover {
	background-color: #666666;
	border-color: #666666;
	color: #FFFFFF;
	box-shadow: 0 0 0.2em rgba(255, 255, 255, 1);
}
.upload-img-item > .progress,.img-viewer > li > .progress {
	height: 2px;
	overflow: hidden;
	background-color: #009900;
	position: absolute;
	bottom: 0;
	left: 0;
	margin: 0;
	padding: 0;
	z-index: 2;
}
.img-viewer > li > .title{
	position: absolute;
	bottom: 0;
	left: 0;
	margin: 0;
	padding: 0;
	z-index: 1;
	text-align: center;
	width: 100%;
	color: #333333;
	font-size: 12px;
	line-height: 1.8;
	text-shadow: 0 0 5px #FFFFFF;
	overflow: hidden;
}


.upload-img-big {
	width: auto;
	height: auto;
	position: fixed;
	z-index: 9999;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
}
.upload-img-big > div.close {
	display: none;
}

.upload-img-success {
	border-color: #009900;
}
.upload-img-success:hover{
	border-color: #007700;
}
.upload-img-error {
	border-color: #CC0000;
	line-height: 9em;
	text-align: center;
	color: #FFFFFF;
	text-shadow: 0 0 0.2em #000000;
}
.upload-img-error:hover{
	border-color: #AA0000;
}
/*.upload-img-div {
	position: absolute;
	width: 0;
	height: 0;
	margin: 0;
	padding: 0;
	border: none;
	overflow: hidden;
	z-index: 9999;
	background-color: rgba(0,0,0,0.3);
}
.upload-img-div > input {
	opacity: 0;
	cursor: pointer;
	transform:scale(100);
}*/



@-webkit-keyframes zoomInUp {
  from {
    opacity: 0;
    -webkit-transform: scale3d(.1, .1, .1) translate3d(0, 1000px, 0);
    transform: scale3d(.1, .1, .1) translate3d(0, 1000px, 0);
    -webkit-animation-timing-function: cubic-bezier(0.550, 0.055, 0.675, 0.190);
    animation-timing-function: cubic-bezier(0.550, 0.055, 0.675, 0.190);
  }

  60% {
    opacity: 1;
    -webkit-transform: scale3d(.475, .475, .475) translate3d(0, -60px, 0);
    transform: scale3d(.475, .475, .475) translate3d(0, -60px, 0);
    -webkit-animation-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1);
    animation-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1);
  }
}

@keyframes zoomInUp {
  from {
    opacity: 0;
    -webkit-transform: scale3d(.1, .1, .1) translate3d(0, 1000px, 0);
    transform: scale3d(.1, .1, .1) translate3d(0, 1000px, 0);
    -webkit-animation-timing-function: cubic-bezier(0.550, 0.055, 0.675, 0.190);
    animation-timing-function: cubic-bezier(0.550, 0.055, 0.675, 0.190);
  }

  60% {
    opacity: 1;
    -webkit-transform: scale3d(.475, .475, .475) translate3d(0, -60px, 0);
    transform: scale3d(.475, .475, .475) translate3d(0, -60px, 0);
    -webkit-animation-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1);
    animation-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1);
  }
}

.zoomInUp {
  -webkit-animation-name: zoomInUp;
  animation-name: zoomInUp;
    -webkit-animation-duration: 1s;
  animation-duration: 1s;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
}


@-webkit-keyframes zoomOutDown {
  40% {
    opacity: 1;
    -webkit-transform: scale3d(.475, .475, .475) translate3d(0, -60px, 0);
    transform: scale3d(.475, .475, .475) translate3d(0, -60px, 0);
    -webkit-animation-timing-function: cubic-bezier(0.550, 0.055, 0.675, 0.190);
    animation-timing-function: cubic-bezier(0.550, 0.055, 0.675, 0.190);
  }

  to {
    opacity: 0;
    -webkit-transform: scale3d(.1, .1, .1) translate3d(0, 2000px, 0);
    transform: scale3d(.1, .1, .1) translate3d(0, 2000px, 0);
    -webkit-transform-origin: center bottom;
    transform-origin: center bottom;
    -webkit-animation-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1);
    animation-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1);
  }
}

@keyframes zoomOutDown {
  40% {
    opacity: 1;
    -webkit-transform: scale3d(.475, .475, .475) translate3d(0, -60px, 0);
    transform: scale3d(.475, .475, .475) translate3d(0, -60px, 0);
    -webkit-animation-timing-function: cubic-bezier(0.550, 0.055, 0.675, 0.190);
    animation-timing-function: cubic-bezier(0.550, 0.055, 0.675, 0.190);
  }

  to {
    opacity: 0;
    -webkit-transform: scale3d(.1, .1, .1) translate3d(0, 2000px, 0);
    transform: scale3d(.1, .1, .1) translate3d(0, 2000px, 0);
    -webkit-transform-origin: center bottom;
    transform-origin: center bottom;
    -webkit-animation-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1);
    animation-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1);
  }
}

.zoomOutDown {
  -webkit-animation-name: zoomOutDown;
  animation-name: zoomOutDown;
    -webkit-animation-duration: 1s;
  animation-duration: 1s;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
}


.img-viewer > li > a {
	display: block;
	width: 1.2em;
	height: 1.2em;
	background-color: #FFFFFF;
	box-sizing: content-box;
	border: solid 1px #666666;
	border-radius: 0.7em;
	color: #666666;
	font-size: 1em;
	line-height: 1.2em;
	text-align: center;
	position: absolute;
	right: 0.5em;
	top: 0.5em;
	cursor: pointer;
	box-shadow: 0 0 0.2em rgba(255, 255, 255, 0.8);
	z-index: 1;
}
.img-viewer > li > a:hover{
	background-color: #666666;
	border-color: #666666;
	color: #FFFFFF;
	box-shadow: 0 0 0.2em rgba(255, 255, 255, 1);
}
.img-viewer > li > a:nth-child(2){
	right: 2em;
}

.img-viewer > li > a {
	opacity: 0;
	transform: scale(0.1);
}

.img-viewer > li:hover > a {
	opacity: 1;
	transform: scale(1);
	transition: all 1s;
}